#!/bin/bash

server=$1
user=$2
localfile=$3
remotefile=$4

scp -i ssh_key ${localfile} ${user}@${server}:"${remotefile}"